<?php
    header("Content-typ:text/html;charset=utf-8");
    include("base.php");
    $username=$_POST['username'];
    $password=$_POST['password'];
    $sql = "INSERT INTO `user`(`username`, `password`) VALUES ('$username','$password')";
    echo $sql;
    $res=$conn->query($sql);
    echo $res;
?>